package com.ltsh.fim.client;

import com.ltsh.fim.common.enums.RequestType;
import com.ltsh.fim.common.inf.ResultCallback;
import com.ltsh.fim.common.model.FimRequest;
import com.ltsh.fim.common.model.req.BaseReq;

public interface FimClientContext {
    /**
     * 发送消息
     * @param request
     */
    public void sendMsg(BaseReq baseReq, byte type, ResultCallback resultCallback);

    /**
     * 登录
     * @param userName
     * @param password
     * @param status
     */
    public void login(String userName, String password, int status, ResultCallback resultCallback);

    /**
     * 登录退出
     */
    public void loginOut(ResultCallback resultCallback);

}
